//
//  JYouLickView.h
//  HeadIndustry
//
//  Created by jun on 2017/8/30.
//  Copyright © 2017年 jun. All rights reserved.
//

#import <UIKit/UIKit.h>

// 商城的collectView 

typedef void(^RefreshCellBlock)(NSInteger currentPage); // 上拉加载
typedef void(^RefreshBlock)(); // 下拉刷新

typedef void(^CellSelectBlock)(JProductDetailModel *selModel); // 选择cell 商品
typedef void(^SelHeadTypeBlock)(JProductTypeModel *model); // 选择type 类型 btn
typedef void(^SelHeadKillBlock)(JKillProducModel *model); // 选择秒杀商品

@interface JYouLickView : UIView

@property (nonatomic , strong) JGetPageModel *pageModel;
@property (nonatomic, strong) UICollectionView *collectView;
@property (nonatomic, copy) CellSelectBlock cellSelectBlock;
@property (nonatomic, copy) RefreshCellBlock refreshCellBlock;
@property (nonatomic, copy) SelHeadTypeBlock selHeadTypeBlock;
@property (nonatomic, copy) SelHeadKillBlock selHeadkillBlock;
@property (nonatomic, copy) RefreshBlock refreshBlock;
@property (nonatomic, strong) YYLabel *headTitleLabel;

@property (nonatomic, strong) NSString *titleStr;

@property (nonatomic, strong) NSArray *dataArr;

- (CGFloat)getViewHeight;

@end
